using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using System.ComponentModel;
using System.Drawing;

namespace WorkGroup.Controls
{
    public class WgLabel : Label, IWgControl
    {
        private Keys shortcutKeys;
        private string languageCode;

        [Bindable(true)]
        [Category("WorkGroup")]
        [DefaultValue("")]
        [Description("")]
        [Localizable(true)]
        public Keys ShortcutKeys
        {
            get { return shortcutKeys; }
            set { shortcutKeys = value; }
        }

        [Bindable(true)]
        [Category("WorkGroup")]
        [DefaultValue("")]
        [Description("")]
        [Localizable(true)]
        public string LanguageCode
        {
            get
            {
                return languageCode;
            }
            set
            {
                languageCode = value;
            }
        }


        public void SetFont(FontFamily fontName, int size, FontStyle style)
        {
            this.Font = new Font(fontName, size, style);
        }
    }
}
